package net.ebakker.feededitor.database;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import net.ebakker.feededitor.Preferences;

public class PostgresRemover {

	public void remove(int id, Connection conn, Preferences pref) throws SQLException {
		String stm = "DELETE FROM ttrss_feeds WHERE id=?";

		PreparedStatement statement = conn.prepareStatement(stm);
		statement.setInt(1, id);
		statement.executeUpdate();
	}

}
